CMAKE_MINIMUM_REQUIRED (VERSION 3.6)
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")
SET(THIRD_PARTY_DIR ${CMAKE_SOURCE_DIR}/../ThirdParty CACHE PATH "Base 3rd-party dependency folder (containing include, lib, bin)")

IF(THIRD_PARTY_DIR)
    LIST(APPEND CMAKE_INCLUDE_PATH ${THIRD_PARTY_DIR}/include)
    LIST(APPEND CMAKE_LIBRARY_PATH ${THIRD_PARTY_DIR}/lib)
ENDIF(THIRD_PARTY_DIR)


project(osgPotree)
set(default_build_type "Release")
 
ADD_SUBDIRECTORY (osgPotree)
